package common.tag.easyui;

/**
 * 类名称：
 * 类描述：
 * 创建人：Administrator
 * 创建时间：2015/1/26 16:47
 * 修改人：Administrator
 * 修改时间：2015/1/26 16:47
 * 修改备注：
 */
public class DataGridColumn {
    protected String title;//表格列名
    protected String field;//数据库对应字段
    protected Integer width;//宽度
    protected String rowspan;//跨列
    protected String colspan;//跨行
    protected String align;//对齐方式
    protected boolean sortable;//是否排序
    protected boolean checkbox;//是否显示复选框
    protected String formatter;//格式化函数
    protected String customFormatter;//自定义格式化
    protected boolean hidden;//是否隐藏
    protected String treefield;//
    protected boolean image;//是否是图片
    protected boolean query;//是否查询
    protected String queryMode = "single";//字段查询模式：single单字段查询；group范围查询

    protected boolean autoLoadData = true; // 列表是否自动加载数据
    private boolean frozenColumn=false; // 是否是冰冻列    默认不是
    protected String url;//自定义链接
    protected String funname="openwindow";//自定义函数名称
    protected String arg;
    protected String dictionary;
    protected String replace;
    protected String extend;
    protected String style; //列的颜色值
    protected String imageSize;//自定义图片显示大小
    protected String downloadName;//附件下载
    protected boolean autocomplete;//自动补全
    protected String extendParams;//扩展参数,easyui有的,但是jeecg没有的参数进行扩展
    public String getDownloadName() {
        return downloadName;
    }

    public void setDownloadName(String downloadName) {
        this.downloadName = downloadName;
    }

    public String getImageSize() {
        return imageSize;
    }

    public void setImageSize(String imageSize) {
        this.imageSize = imageSize;
    }

    public boolean isQuery() {
        return query;
    }

    public String getArg() {
        return arg;
    }

    public void setArg(String arg) {
        this.arg = arg;
    }

    public void setQuery(boolean query) {
        this.query = query;
    }

    public boolean isImage() {
        return image;
    }

    public void setImage(boolean image) {
        this.image = image;
    }

    public String getTreefield() {
        return treefield;
    }

    public void setTreefield(String treefield) {
        this.treefield = treefield;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setField(String field) {
        this.field = field;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public void setRowspan(String rowspan) {
        this.rowspan = rowspan;
    }

    public void setColspan(String colspan) {
        this.colspan = colspan;
    }

    public void setAlign(String align) {
        this.align = align;
    }

    public void setSortable(boolean sortable) {
        this.sortable = sortable;
    }

    public void setCheckbox(boolean checkbox) {
        this.checkbox = checkbox;
    }

    public void setFormatter(String formatter) {
        this.formatter = formatter;
    }
    public boolean isHidden() {
        return hidden;
    }

    public void setHidden(boolean hidden) {
        this.hidden = hidden;
    }

    public String getTitle() {
        return title;
    }

    public String getField() {
        return field;
    }

    public Integer getWidth() {
        return width;
    }

    public String getRowspan() {
        return rowspan;
    }

    public String getColspan() {
        return colspan;
    }

    public String getAlign() {
        return align;
    }

    public boolean isSortable() {
        return sortable;
    }

    public boolean isCheckbox() {
        return checkbox;
    }

    public String getFormatter() {
        return formatter;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFunname() {
        return funname;
    }

    public void setFunname(String funname) {
        this.funname = funname;
    }

    public String getDictionary() {
        return dictionary;
    }

    public void setDictionary(String dictionary) {
        this.dictionary = dictionary;
    }
    public String getQueryMode() {
        return queryMode;
    }

    public void setQueryMode(String queryMode) {
        this.queryMode = queryMode;
    }

    public String getReplace() {
        return replace;
    }

    public void setReplace(String replace) {
        this.replace = replace;
    }

    public boolean isAutoLoadData() {
        return autoLoadData;
    }

    public void setAutoLoadData(boolean autoLoadData) {
        this.autoLoadData = autoLoadData;
    }

    public boolean isFrozenColumn() {
        return frozenColumn;
    }

    public void setFrozenColumn(boolean frozenColumn) {
        this.frozenColumn = frozenColumn;
    }

    public String getExtend() {
        return extend;
    }

    public void setExtend(String extend) {
        this.extend = extend;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public boolean isAutocomplete() {
        return autocomplete;
    }

    public void setAutocomplete(boolean autocomplete) {
        this.autocomplete = autocomplete;
    }

    public String getExtendParams() {
        return extendParams;
    }

    public void setExtendParams(String extendParams) {
        this.extendParams = extendParams;
    }


    public String getCustomFormatter() {
        return customFormatter;
    }

    public void setCustomFormatter(String customFormatter) {
        this.customFormatter = customFormatter;
    }
}
